divir and conquer method